layui.use(['layer', 'form', 'table', 'ztree', 'laydate', 'admin', 'ax','upload'], function () {
    var layer = layui.layer;
    var form = layui.form;
    var table = layui.table;
    var $ZTree = layui.ztree;
    var $ax = layui.ax;
    var laydate = layui.laydate;
    var admin = layui.admin;
    var upload = layui.upload;


    //表单提交事件
    form.on('submit(btnGenVcCode)', function (data) {
        var ajax = new $ax(Feng.ctxPath + "/bHBBtz/genVerCodes", function (data) {
            Feng.success(data.data);
        }, function (data) {
            Feng.error("生成失败！" + data.responseJSON.message)
        });
        ajax.set(data.field);
        ajax.start();
    });


});
